package com.jic.market.response.rest.groupon;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author xuyongliang
 * @version V1.0
 * @className GrouponListResponse
 * @description TODO
 * @date 2020/4/2
 */


@ApiModel(description = "拼团列表返回类rest")
@Data
@Accessors(chain = true)
public class GrouponInfoResponse implements Serializable {

    private static final long serialVersionUID = 2071625473549426423L;

    @ApiModelProperty(notes = "拼团活动编号")
    private String groupCode;

    @ApiModelProperty(notes = "活动图片")
    private String promPicUrl;

    @ApiModelProperty(notes = "活动名称")
    private String promName;


    @ApiModelProperty(notes = "第三方商品编码")
    private String thirdProductCode;

    @ApiModelProperty(notes = "原价")
    private BigDecimal marketPrice;

    @ApiModelProperty(notes = "Spu价格区间")
    private String marketPriceScope;

    @ApiModelProperty(notes = "拼团价")
    private BigDecimal availablePrice;

    @ApiModelProperty(notes = "商品名称")
    private String mpName;

    @ApiModelProperty("sku列表")
    private List<GrouponInfoResponse> childrenProductList;

    @ApiModelProperty(notes = "活动开始时间戳")
    private Long startTime;

    @ApiModelProperty(notes = "活动结束时间戳")
    private Long endTime;

    @ApiModelProperty(notes = "活动开始时间字符串")
    private String startTimeStr;

    @ApiModelProperty(notes = "活动结束时间字符串")
    private String endTimeStr;

    @ApiModelProperty(notes = "成团人数")
    private Integer groupMembers;

    @ApiModelProperty(notes = "活动描述")
    private String description;
}
